use proc_macro::TokenStream;
use quote::quote;
use syn::{parse_macro_input, DeriveInput};

#[proc_macro_derive(EnumFrom)]
pub fn derive_enum_macro(input: TokenStream) -> TokenStream {
    // 解析输入为 DeriveInput
    let input = parse_macro_input!(input as DeriveInput);
    println!("input: {:#?}", input);
    quote! {}.into()
}
